package com.yami.shop.bean.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("发起支付请求实体")
public class PayParam {

  @ApiModelProperty(value = "支付完成回跳地址", required = true)
  private String returnUrl;
  @ApiModelProperty(value = "充值金额",required = true)
  @NotBlank(message = "充值金额不能为空")
  private String money;
  @ApiModelProperty(value = "支付密码",required = true)
  @NotBlank(message = "支付密码不能为空")
  private String payPwd;
}
